package com.zhouyu;

import com.zhouyu.spring.ZhouyuApplicationContext;
import com.zhouyu.user.AppConfig;
import com.zhouyu.user.UserInterFace;

public class Test {
	public static void main(String[] args) {
		ZhouyuApplicationContext zhouyuApplicationContext = new ZhouyuApplicationContext(AppConfig.class);
		UserInterFace userService = (UserInterFace) zhouyuApplicationContext.getBean("userService");
		userService.test();
	}
}
